package com.bs.process.project.domain;

import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 项目文件对象 sys_project_file
 *
 * @author Xianlu Tech
 * @date 2020-06-13
 */
public class SysProjectFile extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;


    @Excel(name = "所属项目")
    private Long projectId;


    @Excel(name = "文件类型")
    private String fileType;


    @Excel(name = "文件名称")
    private String fileName;


    @Excel(name = "文件地址")
    private String url;


    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crtTime;


    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updTime;


    @Excel(name = "项目名称")
    private String projectName;


    @Excel(name = "文件类型名")
    private String fileTypeName;
    

    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationTime;


    private String imgData;


    private Long parentId;


    private int status;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getCrtTime() {
        return crtTime;
    }

    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }

    public Date getUpdTime() {
        return updTime;
    }

    public void setUpdTime(Date updTime) {
        this.updTime = updTime;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getFileTypeName() {
        return fileTypeName;
    }

    public void setFileTypeName(String fileTypeName) {
        this.fileTypeName = fileTypeName;
    }

    public String getImgData() {
        return imgData;
    }

    public void setImgData(String imgData) {
        this.imgData = imgData;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public SysProjectFile(long pId) {
        this.projectId = pId;
    }

    public Date getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(Date expirationTime) {
        this.expirationTime = expirationTime;
    }

    public SysProjectFile() {

    }
}
